package com.alex.goods.entity.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cb
 * @date 2019/11/13 11:54
 */
@Data
@ToString
public class CategoryUpdateDTO {
    @NotNull
    private Integer id;
    @NotBlank
    private String name;
    @NotNull
    private Integer parentId;
}
